<div id="maincontent">
	<div id="content">
    <div class="box1">
      <h1><?php echo str_replace("#VERSION#", $lico['licoupdate_version'], lico_lang('script', 'script.page.title')); ?></h1>
      <div class="description"><?php echo str_replace("#VERSION#", $lico['licoupdate_version'], lico_lang('script', 'script.page.description')); ?></div>
      <div class="text"><?php echo str_replace("#VERSION#", $lico['licoupdate_version'], lico_lang('script', 'script.download')); ?></div>
      <div class="text"><?php echo str_replace("#VERSION#", $lico['licoupdate_version'], lico_lang('script', 'script.script.help')); ?></div>
      <div class="text"><?php echo str_replace("#VERSION#", $lico['licoupdate_version'], lico_lang('script', 'script.old.scripts.description')); ?>
      <br/>
      <br/><ul>
      <?php
      $filearray = array();
      $fd = opendir("script/old");
      while ($file = readdir($fd)) {
        if ($file != "." && $file != "..") {
          $filearray[] = $file;
        }
      }
      closedir($fd);
      asort($filearray);
      for ($a=0; $a<count($filearray); $a++) {
        echo "<li> <a href=\"".$lico['baseurl']."/script/old/".$filearray[$a]."\">".$filearray[$a]."</a></li>\n";
      }
      ?>
      </ul></div>
    </div>
  </div>
</div>
